package edu.sctu.practice.class02.shuqiqi.test08;

import edu.sctu.practice.class02.shuqiqi.test08.Vehicles;

/**
 * Created by admin on 2015/10/15.
 */
public class Car extends Vehicles {

    int seats;
    public Car(String brand, String color, int seats) {

        super(brand, color);
        this.seats=seats;

    }

    public void showCar() {
        System.out.println("商标："+brand+"\n颜色："+color+"\n座位："+seats);
    }
}


